// import { clerkMiddleware } from '@clerk/nextjs/server'

export async function loginMiddleware(request: Request, next: any) {
  return next()
  const response = clerkMiddleware()(request as any, clerkMiddleware as any)
  if (response) {
    return response
  }
  return next()
}

export const loginMatcher = ['/((?!.*\\..*|_next).*)', '/', '/(api|trpc)(.*)']
